package main

import (
	"fmt"
)

func main(){
	const(
		a =iota
		b =iota
		c=iota
	)

	fmt.Println(a)
	fmt.Println(b)
	fmt.Println(c)


	///================================
	const(
		A=iota
		B    //B 的值和上一行一致
		C
		D="haha"
		E
		F=100
		G
	)
	fmt.Println("===========")
	fmt.Println(A)
	fmt.Println(B)
	fmt.Println(C)
	fmt.Println(D)
	fmt.Println(E)
	fmt.Println(F)
	fmt.Println(G)


}

